{% extends "layouts/backoffice.html" %}
{% block title%}基金基本資料查詢{% endblock %}
{% block content%}
<script language="javascript">
	$().ready(function(){
		$('#startDate').datepicker({speed:'fast',dateFormat:'yy-mm-dd'});	
	});
</script>  
<div class="nav">
  <h1>基金基本資料維護</h1>
  <div class="menuGroup">
    <span class="menuButton">
      <a class="button" href="javascript:window.location.href='/fundata/'">回到基金列表</a>
    </span>
    <span class="menuButton">
      <a class="button" href="javascript:window.location.href='/fundata/create/'">新增基金</a>
    </span>
  </div>
</div>
<div class="body">
	<form name="form1" method="post" action="/fundata/save/">
  <div class="show">
    <div class="prop">
      <div class="name">基金名稱:</div>
      <div class="value"><input type="text" name="name" id="name" value="" /></div>
    </div>
    <div class="prop">
      <div class="name">交易類型:</div>
      <div class="value">
      	<select name="type" id="type">
      		<option value="Once">單筆</option>
      		<option value="Periodical">定期定額</option>
      	</select>	
      </div>
    </div>    
    <div class="prop">
      <div class="name">開始投資日:</div>
      <div class="value"><input type="text" name="startDate" id="startDate" value="" /></div>
    </div>
    <div class="prop">
      <div class="name">手續費</div>
      <div class="value"><input type="text" name="surcharge" id="surcharge" value="" /></div>
    </div>
    <div class="prop">
      <div class="name">停損點</div>
      <div class="value"><input type="text" name="stopLoss" id="stopLoss" value="" /></div>
    </div>
    <div class="prop">
      <div class="name">停利點</div>
      <div class="value"><input type="text" name="stopProfit" id="stopProfit" value="" /></div>
    </div>
    <div class="prop">
      <div class="name">幣別</div>
      <div class="value">
      	<input type="text" name="currency" id="currency" value="" />
      </div>
    </div>
    <div class="prop">
      <div class="name">匯率</div>
      <div class="value">
      	<input type="text" name="exchangeRate" id="exchangeRate" value="" />
      </div>
    </div>
     <div class="prop">
      <div class="name">金額</div>
      <div class="value"><input type="text" name="amount" id="amount" value="" /></div>
    </div>
    <div class="prop">
      <div class="name">交易淨值</div>
      <div class="value"><input type="text" name="buyNetValue" id="buyNetValue" value="" /></div>
    </div>
    <div class="prop">
      <div class="name">單位數</div>
      <div class="value"><input type="text" name="buyCount" id="buyCount" value="" /></div>
    </div>
    <div class="prop">
      <div class="name">資料來源</div>
      <div class="value"><input type="text" name="dataSourceUrl" id="dataSourceUrl" value="" /></div>
    </div>
    <div class="prop">
      <div class="name">備註</div>
      <div class="value"><TEXTAREA id="comment" NAME="comment" COLS=40 ROWS=6></TEXTAREA></div>
    </div>
  </div>
 
    <div class="buttons">
      <span class="button"><input type="submit" name="save" value="儲存" class="edit"/></span>
    </div>
  </form>
</div>

{% endblock %}